<template>
<!--  <header>-->
<!--    <div class="collapse bg-dark" id="navbarHeader">-->
<!--      <div class="container">-->
<!--        <div class="row">-->
<!--          <div class="col-sm-8 col-md-7 py-4">-->
<!--            <h4 class="text-white">About</h4>-->
<!--            <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>-->
<!--          </div>-->
<!--          <div class="col-sm-4 offset-md-1 py-4">-->
<!--            <h4 class="text-white">Contact</h4>-->
<!--            <ul class="list-unstyled">-->
<!--              <li><a href="#" class="text-white">Follow on Twitter</a></li>-->
<!--              <li><a href="#" class="text-white">Like on Facebook</a></li>-->
<!--              <li><a href="#" class="text-white">Email me</a></li>-->
<!--            </ul>-->
<!--          </div>-->
<!--        </div>-->
<!--      </div>-->
<!--    </div>-->
<!--    <div class="navbar navbar-dark bg-dark shadow-sm">-->
<!--      <div class="container d-flex justify-content-between">-->
<!--        <a href="#" class="navbar-brand d-flex align-items-center">-->
<!--          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" aria-hidden="true" class="mr-2" viewBox="0 0 24 24" focusable="false"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>-->
<!--          <strong>Album</strong>-->
<!--        </a>-->
<!--        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">-->
<!--          <span class="navbar-toggler-icon"></span>-->
<!--        </button>-->
<!--      </div>-->
<!--    </div>-->
<!--  </header>-->
  <header>
    <nav class="navbar navbar-expand-lg navbar-light bg-dark">
      <div class="container">
      <router-link class="navbar-brand text-info" to="/index">
         &nbsp;hermit课程平台
      </router-link>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>

      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto">
          <li class="nav-item active">
            <router-link class="nav-link text-white" to="/index">主页 <span class="sr-only">(current)</span></router-link>
          </li>
          <li class="nav-item" >
            <router-link class="nav-link text-white" to="/list">全部课程</router-link>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              更多
            </a>
            <div class="dropdown-menu " aria-labelledby="navbarDropdown">
              <a class="dropdown-item " href="#">关于hermit</a>
              <a class="dropdown-item " href="#">商务合作</a>
              <div class="dropdown-divider"></div>
              <a class="dropdown-item " href="#">更多信息</a>
            </div>
          </li>
          <li class="nav-item">
            <a class="nav-link text-white" href="#">文章精选</a>
          </li>
        </ul>
        <span class="text-white">欢迎：</span>
        <button class="btn btn-outline-light my-2 my-sm-0" type="submit">登陆/注册</button>

      </div>
      </div>
    </nav>
  </header>
</template>
<script>
  export default {
    name:'theHeader',
  }
</script>